package org.example.singleton;

public class SingletonFinally {

    private static class SingletonHolder{
        public final static SingletonFinally instance=new SingletonFinally();
    }

    public static SingletonFinally getInstance(){
        return SingletonHolder.instance;
    }
}
